package com.ruoyi.eqmonitor.dispose.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 外部接口-微站站点采集数据对象
 */
@Data
@TableName("exterior_site_monitor_data")
public class ExteriorSiteMonitorData implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /** 站点编码 */
    private String siteCode;

    /** 站点名称 */
    private String siteName;

    /**  */
    private String devCode;

    /** 因子编号 */
    private String paramCode;

    /** 因子名称 */
    private String paramName;

    /** 数据值 */
    private String dataValue;

    /** 数据时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dataTime;

    /**  */
    private String isOver;

    /**  */
    private String overReason;

    /**  */
    private String isValid;

    /**  */
    private String isCheck;

    @TableField(exist = false)
    private String areaName;
    @TableField(exist = false)
    private String hl;
    @TableField(exist = false)
    private String jzm;
    @TableField(exist = false)
    private String pjx;
    @TableField(exist = false)
    private String jd;
    @TableField(exist = false)
    private String wd;

}
